home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / af.xml < prev    next >
Text File  |  2002-09-30  |  3KB  |  76 lines

  1. <search function="af">
  2.   <name>AcronymFinder</name>
  3.   <description>
  4.     Find an acronym on AcronymFinder.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.     <table class="helpboxDescTable">
  7.       <tr><td>/exact</td><td> - </td><td>Exact Match (default)</td></tr>
  8.       <tr><td>/reverse</td><td> - </td><td>Reverse Lookup (boolean AND keyword searches in acronym meanings)</td></tr>
  9.       <tr><td>/begins_with</td><td> - </td><td>The search uses a wildcard character at the end of the acronym you type, so entering "AFR" would return all acronyms beginning with AFR -- AFR, AFRA, AFRC, AFREP, etc.</td></tr>
  10.       <tr><td>/wildcard</td><td> - </td><td>To find meanings for any acronym containing the search string.  A search for AFR using this option would return meanings for AFR, AFRT, MAFR, etc.</td></tr>
  11.     </table>
  12.     <div class="helpboxDescLabels">Example:</div>
  13.     <table class="helpboxDescTable">
  14.           <tr><td>af SCUBA</td></tr>
  15.       <tr><td>af laugh loud /rev</td></tr>
  16.       </table>
  17.   </description>
  18.   <category>Reference</category>
  19.   <link>http://www.acronymfinder.com/</link>
  20.   <contributor>Nikolai Devereaux</contributor>
  21.   <email>nikolai_at_bigaction_dot_org</email>
  22.   
  23.   <form name="aff"
  24.         action="http://www.acronymfinder.com/af-query.asp"
  25.         method="get">
  26.     <input type="hidden" name="String" value="exact"/>
  27.     <input type="hidden" name="Acronym"/>
  28.   </form>
  29.   
  30.   <script><![CDATA[
  31.     function af(q)
  32.     {
  33.       if( nullArgs("af", q) )
  34.         return false;
  35.         
  36.       document.aff.String.value = "exact";
  37.  
  38.       var args = parseArgs(q, "exact, begins_with, wildcard, reverse" );
  39.       if ( args.q == "" )
  40.       {
  41.         nullArgs( "af", "?" );
  42.         return false;
  43.       }
  44.       else if ( args.switches.length >= 1 )
  45.       {
  46.         q = args.q;
  47.         switch( args.switches[0].name )
  48.         {
  49.           case "begins_with":
  50.             document.aff.String.value = "off"; break;
  51.           case "wildcard":
  52.             document.aff.String.value = "wildcard"; break;
  53.           case "reverse":
  54.             document.aff.String.value = "on"; break;
  55.           case "exact":
  56.           default:
  57.         }
  58.       }
  59.      else 
  60.        {
  61.           openSearchWindow("http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=" + q);
  62.           return false;
  63.         }
  64.         
  65.       document.aff.Acronym.value = q;
  66.       submitForm(aff);
  67.     }
  68.   ]]></script>
  69.  
  70.   <copyright>
  71.     Copyright (c) 2002 David Bau
  72.     Distributed under the terms of the
  73.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  74.   </copyright>
  75. </search>
  76.